inherited crdDoc: TcrdDoc
  Left = 315
  Top = 224
  Caption = #1044#1086#1082#1091#1084#1077#1085#1090' '#1087#1086' '#1076#1086#1083#1075#1091
  ClientHeight = 491
  ClientWidth = 567
  ExplicitWidth = 575
  ExplicitHeight = 518
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Top = 451
    Width = 567
    ExplicitTop = 451
    ExplicitWidth = 567
  end
  inherited GroupBox1: TGroupBox
    Width = 567
    ExplicitWidth = 567
  end
  object Panel2: TPanel [2]
    Left = 0
    Top = 84
    Width = 567
    Height = 303
    Align = alClient
    BevelOuter = bvNone
    TabOrder = 2
    object GroupBox2: TGroupBox
      Left = 0
      Top = 0
      Width = 567
      Height = 303
      Align = alClient
      Caption = ' '#1044#1086#1082#1091#1084#1077#1085#1090' '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      object Splitter1: TSplitter
        Left = 299
        Top = 15
        Width = 5
        Height = 286
        Align = alRight
        Beveled = True
        ExplicitHeight = 279
      end
      object Panel3: TPanel
        Left = 304
        Top = 15
        Width = 261
        Height = 286
        Align = alRight
        BevelOuter = bvNone
        Caption = 'Panel2'
        TabOrder = 0
        object Panel5: TPanel
          Left = 0
          Top = 0
          Width = 261
          Height = 247
          Align = alClient
          BevelOuter = bvLowered
          Caption = 'Panel5'
          TabOrder = 0
          object DocImage: TDBImage
            Left = 1
            Top = 1
            Width = 259
            Height = 245
            Align = alClient
            BorderStyle = bsNone
            DataField = 'DOCSCAN'
            DataSource = dscDoc
            TabOrder = 0
          end
        end
        object Panel4: TPanel
          Left = 0
          Top = 247
          Width = 261
          Height = 39
          Align = alBottom
          BevelOuter = bvNone
          Constraints.MinWidth = 250
          TabOrder = 1
          object BitBtn4: TBitBtn
            Left = 10
            Top = 2
            Width = 77
            Height = 36
            Action = FileOpen1
            DoubleBuffered = True
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            Glyph.Data = {
              36100000424D3610000000000000360000002800000020000000200000000100
              2000000000000010000000000000000000000000000000000000FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00DFEFE400EEF6
              F100FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00F5F9F60086C59D0020974C000B8E3B000B8E
              3B0048A86B00C4E2CF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00EBEAEA00D8D6D400CDCBC900C7C3C000CBC8C600D3D1D000E4E2E100F7F7
              F600FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00F4F5F400D5D9D50076AD8900119E49000FA44B000C923E000C98
              3F000F99410025994F00E3F0E800FF00FF00FF00FF00FF00FF00F5F6F500C7C6
              C300BAB4B000C0B7B300BFB6B000C0B6AE00C2B8B000C5BCB500BDB6B000B9B4
              B200E5E4E300FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00ECEF
              ED00746F6B002B251F00172E18000A8B3D000AB159000DA24C00D9F0E20043AF
              6B0005943900099A3D006DB48700FBFDFC00FF00FF00E6EAE700BBB5B200BCB2
              AB008F857D0062564C004B40350053453900382E250043383000796F6600B7AC
              A300BFB7B100CDCBC900FCFCFC00FF00FF00FF00FF00FF00FF00FF00FF009797
              9200302720002C241E00183D1F0008A8520034C47D009AD2B000DFF2E700AEDB
              BF0049B2700005993B0041A16400ECF3EE00E9EEEA00B8B7B100AFA59F00524A
              430020181100241B140030271F003B312900312821001F17110017110B00453C
              3300A99E9500C9C1B900D2CFCE00FEFEFE00FF00FF00FF00FF00FAFAFA00706A
              6500382E26002D251F001D3F21000AAA57002ED28B0088E1B800E2F4EA00A6E4
              C3003DBF760006A245000B692B0020261A0089848100ACA39D00252019001D16
              1000322922003F362C00382F2600372D2500372E25003A3028003C332A002820
              1A00352C24008C827A00C8C0BB00DCDAD900FF00FF00FF00FF00FAFAFA00706A
              6500382E26002D251F0023331F00118E460010D58C0010D08400DAF2E50046D0
              8F0007BD640010AD5500145929004A453E00C8C0BB0050474000201912004238
              2F0032292100251F170018140F0017130F0018140E00211C1500382F27003E34
              2C00241C1600332A2200B5ABA300C8C3BF00FF00FF00FF00FF00FAFAFA00706A
              65003C322B002F2721002A231C00194724001DAC62001ECF860015D3880017CD
              81001EB76900117E3800181D1200817A750089807A0018130C00433A3200352C
              240017120D00130F0A001A150F00201A13001E1912001B161100181410002E27
              20003B322B00241D17004F484100C8BEB600EAE9E800FF00FF00FAFAFA00706A
              650042383100322923002B231C0025221A0015462300147D3F00149F53001597
              4D0013602A00192C1100221E1900A79F9A00473F3700221B140041382E001E19
              120014100B0016110C001C140F001E1610001E1611001B150F001E1914001814
              10003A3129003C322A00211C1600B0A7A000B6B2AE00FF00FF00FAFAFA00706A
              65004A413900362E27002B231D00261F19001C151200110D09001B1610002721
              19001D160D0021190C003B373100BFB7B100201A1300393028002B241C001310
              0B0017140C001D160E00221A0E00211A0C00251C1000261F160019150F001413
              0D0028211B004238300017110C00968E8700B3ADA700FDFDFD00FAFAFA00706A
              65005048400039312B002C241E00261F19001C161200110D0A001D1812002E27
              1F00231C13002720120047433D00C2BAB4001C170E00342D240028211A001411
              0C0017140E00231B10001E16080027170A001E150800261F1300191610001514
              0E00211B1500342C23001A140E0089817A00C5BFB900FF00FF00FAFAFA00706A
              6500554B45003B332D002C251E00261F19001C161300120E0B00201A1400332C
              24002921180030281B004A454000BAB3AE00201A120028211A0028221B001410
              0C0016150D00231E120020150800381A0B0019110700211C0F0016150D001311
              0C00221D1700332A230019140E008F867E00C1BAB500FF00FF00FAFAFA00706A
              6500534A44003A322C002C241D00261F19001C161300120E0B00201A1400342D
              24002B231A00362E21003D393500B1AAA600322B2400251F17002D271F001612
              0E0015140C002A201400261C0D00361C0B0025190B00231E120011110C00100E
              0A002B241D00312920001D171100A89D9400AFA9A300FF00FF00FAFAFA00706A
              65004D443D00362E28002B241D00261F19001C161300140F0C00211C1400342D
              24002B241B003831240029252200918B870077706B001D161100312B23002620
              1A0012110C0018140D0028221B003327200026201A001716110012100C001A16
              1100332B2300231D160041393200D0C6BE00837D7700FF00FF00FAFAFA00706A
              6500473E3700342C25002B231D00261F19001C161300140F0C00201B1400332C
              24002B241B00393226002A27240057534E00B7AFAA00362F2A002B241D003B32
              2B001F1A1500120F0B00151410001B19170014140F0013120E0019151000322A
              2300332B240016110B00867C7400CAC1B800736D6600FF00FF00FAFAFA00706A
              650041373000302822002A231C00261F19001C16120014100D00211A1300312A
              210028211800393225002E2B280026232000A09A9400A49C9600231D1600362E
              2700453B3300312A23001F1A15001D1915001F1A150029221B003E352C00453C
              34001C1711004F484200D2C8BF005D54450076716A00FF00FF00FAFAFA00706A
              65003E332C002F2721002A231C00261F19001C16120014100D00201913002E27
              1F00241E1600362F2300302D2A002B282500403C3700B4ACA6008B847E002822
              1C002D261F00483E370040362F0043393100483E3600443B330029221C001914
              0E00564F4800C9BFB700837A7200362E210076716A00FF00FF00FAFAFA00706A
              65003B312A002E2620002A221B00261F19001C16120014100D001F1811002821
              1A001F1A1100312B1F00312E2B00312F2C0024211E0033302B00B2ABA500C0B8
              B2005A544C0037312900241F170028221B00251F180029231C004E484100938A
              8200D2CAC3008B837B0019150F00453E3200746F6700FF00FF00FAFAFA00706A
              6500342A2300302822003D3630003B352F00342F2B001B1613001D160F00231C
              15001C150D002C261A002F2D290035332F002D2A27001F1D19002E2A26007771
              6B00CEC5BE00C2BAB200AAA19900A39B9400AAA09800B6ABA200D1C8C100C4BC
              B5004F49430018130D0038332D004B443700716C6400FF00FF00FF00FF00A39F
              9C0041393400322B25002C261F0028211A0025201A002D2924001A130C001D17
              100017120900262014002F2B250038353000363430002E2B2800201D1A001916
              1100211E190056514B008F878000A39B9300968E8700817B74003C3630001712
              0D001E1A140038342E004943380041382A006F6B6300FF00FF00FF00FF00FAF9
              F900A09C99003128220040352B0040352B00332A23001B161100150F09001711
              0A0016100700221B0F00312B200037332C003A3834003836320034302C002F2C
              27002C2823002B2722002D2823002C2823002A26200028241E002A251F003430
              2A0038342D00413A32003F382C00332C1E00726D6600FF00FF00FF00FF00FF00
              FF00C4C2C000362E29002B231B002B231C00201914001A1511001D170D001812
              0900241C12002F2717003D3527003F3A310047443F004D484200524D4400524B
              4200504941004F4940004F4940004F4940004F493F004E483E004B453B004842
              3800463E3500463E33003F382C00241D10009D9A9500FF00FF00FF00FF00FF00
              FF00E2E1E100554F4A00251E1700201A15001D181300403B38008C8983002C24
              1900271F12002C231300312819002F281B00312B1F00322B1F00322B1E00322A
              1E0031291D0031291D0030291D0030291D0030291C0030291C002F281B002E26
              1A002D2518002C25170030291D00635E5500EDECEC00FF00FF00FF00FF00FF00
              FF00FF00FF00E4E3E2009B989500918D8A00AEACAA00E5E4E400FBFBFB00908E
              8900251F1600150F0500150F0500241F150075716C00EFEFEE00060502000B0A
              060014130F001B1916001F1E1A00211F1C00201F1B001D1B1800151411000D0C
              090007060300BAB9B700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F5F5
              F400C4C2C000B5B3B000B5B3B000C4C2C000EEEDED00FF00FF00070603001716
              13002E2D2A00302F2C0031302E0032312E0031302E00302F2D002D2C2A002221
              1F0006050200B8B8B600FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00060502002524
              200034332E0034332E0034332E0034332E0034332E0034332E0034332E003433
              2E0006050200B7B6B500FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00080704006564
              5C009F9E96009F9E96009F9E96009F9E96009F9E96009F9E96009F9E96009594
              8B0006050200B7B7B500FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0009080500706F
              6900D5D4D000D5D4D000D5D4D000D5D4D000D5D4D000D5D4D000D5D4D000B3B2
              AB0009080500BBBAB900FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0022211E003130
              2C00565552005655520056555200565552005655520056555200565552004B4A
              46001C1B1800CBCAC900FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00969695002A29
              26001C1B18001C1B18001C1B18001C1B18001C1B18001C1B18001C1B18002423
              21007C7C7A00F7F7F600FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F6F6F500CECE
              CD00BDBDBB00BDBDBC00BEBDBC00BDBCBB00BDBCBB00BEBDBC00BDBDBC00C4C4
              C300F2F2F200FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
            ParentDoubleBuffered = False
            ParentFont = False
            TabOrder = 0
          end
          object BitBtn5: TBitBtn
            Left = 92
            Top = 2
            Width = 77
            Height = 36
            Action = aScanDelete
            DoubleBuffered = True
            Glyph.Data = {
              36100000424D3610000000000000360000002800000020000000200000000100
              2000000000000010000000000000000000000000000000000000FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00DFE1F000EEEF
              F700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00F5F5F900848CCA00192AA000031A9D000319
              9C004552B200C4C8E500FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00EBEAEA00D8D6D400CDCBC900C7C3C000CBC8C600D3D1D000E4E2E100F7F7
              F600FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00F4F4F500D5D4D900757BB100081B9F002635AD000925B000122D
              B3000E1EA5001F2CA000E4E5F100FF00FF00FF00FF00FF00FF00F5F5F600C7C5
              C500BAB4B000C0B7B300BFB6B000C0B6AE00C2B8B000C5BCB500BDB6B000B9B4
              B200E5E4E300FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00ECEC
              EE00746F6B002B251F0016152C0005178B002446C000C6CEED00B9BDE400C2C6
              E90097A9E5000C2BAF006C75BA00FCFCFD00FF00FF00E7E7EA00BBB5B200BCB2
              AB008F857D0062564C004B40350053453900382E250043383000796F6600B7AC
              A300BFB7B100CDCBC900FCFCFC00FF00FF00FF00FF00FF00FF00FF00FF009693
              9400302720002C241E0017173D000520A5000B37C300596AC800FDFDFE00FCFC
              FE003A4FBF00082AB1003E49AA00ECEDF300EAEAEE00B8B4B400AFA59F00524A
              430020181100241B140030271F003B312900312821001F17110017110B00453C
              3300A99E9500C9C1B900D2CFCE00FEFEFE00FF00FF00FF00FF00FAFAFA00706A
              6500382E26002D251F001C1B3D00071FA000163FC800ACB3E300E0E4F600E5E9
              F800979FDC000E27AA0008127000201C210089848100ACA39D00252019001D16
              1000322922003F362C00382F2600372D2500372E25003A3028003C332A002820
              1A00352C24008C827A00C8C0BB00DCDAD900FF00FF00FF00FF00FAFAFA00706A
              6500382E26002D251F00231F3000091783001F4CCF006889E3003E65D6004D6E
              D5006883DA001431B10012185C004A443F00C8C0BB0050474000201912004238
              2F0032292100251F170018140F0017130F0018140E00211C1500382F27003E34
              2C00241C1600332A2200B5ABA300C8C3BF00FF00FF00FF00FF00FAFAFA00706A
              65003C322B002F2721002A231D00181947000D209A001F42C1001C4ACE001D49
              CA001B37B2000B187F0017141800817A750089807A0018130C00433A3200352C
              240017120D00130F0A001A150F00201A13001E1912001B161100181410002E27
              20003B322B00241D17004F484100C8BEB600EAE9E800FF00FF00FAFAFA00706A
              650042383100322923002B231C00251F1C0012144400081478000D219E000D1F
              98000D135D0019162300221E1900A79F9A00473F3700221B140041382E001E19
              120014100B0016110C001C140F001E1610001E1611001B150F001E1914001814
              10003A3129003C322A00211C1600B0A7A000B6B2AE00FF00FF00FAFAFA00706A
              65004A413900362E27002B231D00261F19001C151200110D09001B1610002721
              19001D160D0021190C003B373100BFB7B100201A1300393028002B241C001310
              0B0017140C001D160E00221A0E00211A0C00251C1000261F160019150F001413
              0D0028211B004238300017110C00968E8700B3ADA700FDFDFD00FAFAFA00706A
              65005048400039312B002C241E00261F19001C161200110D0A001D1812002E27
              1F00231C13002720120047433D00C2BAB4001C170E00342D240028211A001411
              0C0017140E00231B10001E16080027170A001E150800261F1300191610001514
              0E00211B1500342C23001A140E0089817A00C5BFB900FF00FF00FAFAFA00706A
              6500554B45003B332D002C251E00261F19001C161300120E0B00201A1400332C
              24002921180030281B004A454000BAB3AE00201A120028211A0028221B001410
              0C0016150D00231E120020150800381A0B0019110700211C0F0016150D001311
              0C00221D1700332A230019140E008F867E00C1BAB500FF00FF00FAFAFA00706A
              6500534A44003A322C002C241D00261F19001C161300120E0B00201A1400342D
              24002B231A00362E21003D393500B1AAA600322B2400251F17002D271F001612
              0E0015140C002A201400261C0D00361C0B0025190B00231E120011110C00100E
              0A002B241D00312920001D171100A89D9400AFA9A300FF00FF00FAFAFA00706A
              65004D443D00362E28002B241D00261F19001C161300140F0C00211C1400342D
              24002B241B003831240029252200918B870077706B001D161100312B23002620
              1A0012110C0018140D0028221B003327200026201A001716110012100C001A16
              1100332B2300231D160041393200D0C6BE00837D7700FF00FF00FAFAFA00706A
              6500473E3700342C25002B231D00261F19001C161300140F0C00201B1400332C
              24002B241B00393226002A27240057534E00B7AFAA00362F2A002B241D003B32
              2B001F1A1500120F0B00151410001B19170014140F0013120E0019151000322A
              2300332B240016110B00867C7400CAC1B800736D6600FF00FF00FAFAFA00706A
              650041373000302822002A231C00261F19001C16120014100D00211A1300312A
              210028211800393225002E2B280026232000A09A9400A49C9600231D1600362E
              2700453B3300312A23001F1A15001D1915001F1A150029221B003E352C00453C
              34001C1711004F484200D2C8BF005D54450076716A00FF00FF00FAFAFA00706A
              65003E332C002F2721002A231C00261F19001C16120014100D00201913002E27
              1F00241E1600362F2300302D2A002B282500403C3700B4ACA6008B847E002822
              1C002D261F00483E370040362F0043393100483E3600443B330029221C001914
              0E00564F4800C9BFB700837A7200362E210076716A00FF00FF00FAFAFA00706A
              65003B312A002E2620002A221B00261F19001C16120014100D001F1811002821
              1A001F1A1100312B1F00312E2B00312F2C0024211E0033302B00B2ABA500C0B8
              B2005A544C0037312900241F170028221B00251F180029231C004E484100938A
              8200D2CAC3008B837B0019150F00453E3200746F6700FF00FF00FAFAFA00706A
              6500342A2300302822003D3630003B352F00342F2B001B1613001D160F00231C
              15001C150D002C261A002F2D290035332F002D2A27001F1D19002E2A26007771
              6B00CEC5BE00C2BAB200AAA19900A39B9400AAA09800B6ABA200D1C8C100C4BC
              B5004F49430018130D0038332D004B443700716C6400FF00FF00FF00FF00A39F
              9C0041393400322B25002C261F0028211A0025201A002D2924001A130C001D17
              100017120900262014002F2B250038353000363430002E2B2800201D1A001916
              1100211E190056514B008F878000A39B9300968E8700817B74003C3630001712
              0D001E1A140038342E004943380041382A006F6B6300FF00FF00FF00FF00FAF9
              F900A09C99003128220040352B0040352B00332A23001B161100150F09001711
              0A0016100700221B0F00312B200037332C003A3834003836320034302C002F2C
              27002C2823002B2722002D2823002C2823002A26200028241E002A251F003430
              2A0038342D00413A32003F382C00332C1E00726D6600FF00FF00FF00FF00FF00
              FF00C4C2C000362E29002B231B002B231C00201914001A1511001D170D001812
              0900241C12002F2717003D3527003F3A310047443F004D484200524D4400524B
              4200504941004F4940004F4940004F4940004F493F004E483E004B453B004842
              3800463E3500463E33003F382C00241D10009D9A9500FF00FF00FF00FF00FF00
              FF00E2E1E100554F4A00251E1700201A15001D181300403B38008C8983002C24
              1900271F12002C231300312819002F281B00312B1F00322B1F00322B1E00322A
              1E0031291D0031291D0030291D0030291D0030291C0030291C002F281B002E26
              1A002D2518002C25170030291D00635E5500EDECEC00FF00FF00FF00FF00FF00
              FF00FF00FF00E4E3E2009B989500918D8A00AEACAA00E5E4E400FBFBFB00908E
              8900251F1600150F0500150F0500241F150075716C00EFEFEE00060502000B0A
              060014130F001B1916001F1E1A00211F1C00201F1B001D1B1800151411000D0C
              090007060300BAB9B700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F5F5
              F400C4C2C000B5B3B000B5B3B000C4C2C000EEEDED00FF00FF00070603001716
              13002E2D2A00302F2C0031302E0032312E0031302E00302F2D002D2C2A002221
              1F0006050200B8B8B600FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00060502002524
              200034332E0034332E0034332E0034332E0034332E0034332E0034332E003433
              2E0006050200B7B6B500FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00080704006564
              5C009F9E96009F9E96009F9E96009F9E96009F9E96009F9E96009F9E96009594
              8B0006050200B7B7B500FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0009080500706F
              6900D5D4D000D5D4D000D5D4D000D5D4D000D5D4D000D5D4D000D5D4D000B3B2
              AB0009080500BBBAB900FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0022211E003130
              2C00565552005655520056555200565552005655520056555200565552004B4A
              46001C1B1800CBCAC900FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00969695002A29
              26001C1B18001C1B18001C1B18001C1B18001C1B18001C1B18001C1B18002423
              21007C7C7A00F7F7F600FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F6F6F500CECE
              CD00BDBDBB00BDBDBC00BEBDBC00BDBCBB00BDBCBB00BEBDBC00BDBDBC00C4C4
              C300F2F2F200FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
            ParentDoubleBuffered = False
            TabOrder = 1
          end
          object BitBtn6: TBitBtn
            Left = 174
            Top = 2
            Width = 77
            Height = 36
            Action = aEnlage
            DoubleBuffered = True
            Glyph.Data = {
              36100000424D3610000000000000360000002800000020000000200000000100
              2000000000000010000000000000000000000000000000000000FF00FF00FF00
              FF00FDFDFD00FBFBFB00FCFCFC00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FDFD
              FD00D0D4D600A3ADB200CDD1D300F4F5F600FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00D0D5
              D700577790004A7A9F0060768800B5BCBE00F0F1F200FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00768D
              9F006493B9005F8CAF004F7EA60055738A00A9B1B400EEEFF000FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FEFEFE007795
              AA00BDE3FC008DB4CF005986A8004F80AA0051748E009DA6AC00E6E8EA00FEFE
              FE00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00C4CB
              D000A9CFE400CBEEFF008AB3CF005986A8004D7FA6004B718D0098A1A700ECEE
              EE00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF009FAEB800B7DDF200C9EBFD008EB5D0005A87A8004F80A8004E738E00A5AD
              B200F0F1F200FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00869CAB00BBE1F900C6E9FD008EB6D1005C88AB004E7FA7004F72
              8D00ADB4B700F3F5F500FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FDFDFD00FCFCFC00FDFDFD00FEFEFE00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00F7F8F8007392A900BBE0F900C6EAFD0091B8D4005D8AAD005081
              A90054738A00BFC4C700F8F9F900FF00FF00FF00FF00FCFBFB00F6F4F400EFEB
              EB00E9E4E400E8E2E200E9E3E300ECE7E700F0ECEC00F6F3F300FCFBFB00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00E5E8EA006589A400B8DFF900C8EBFE0092BAD500608C
              AF004D7EA600637A8C00D5D9DB00FAFAFA00F5F3F300E6E0E000DED6D600DCD2
              D300DCD2D200DED5D500DDD4D400DAD0D000DBD1D100DFD6D600E9E3E300F5F3
              F300FEFEFE00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00D4DADE005D86A500B4DAF200C8EAFE0094BE
              D6006290B2004A7BA10079899200D5D4D500E0D9D900E5DEDE00EEEAEA00F2EF
              EF00F3F1F100F7F5F500FDFDFD00FDFDFD00EDE9E900DED6D600DBD2D200E1D9
              D900EFEBEB00FBFAFA00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00C4CBD0005B85A600AED5EF00C9EC
              FF0097BFD7006796B900457191008E919600D9D4D500CBBFBC00B7A69F00B6A5
              9E00C1B3A600BBABA000B09E9600BBADA800E7E3E200FF00FF00F7F6F600DED6
              D600DCD2D200EDE8E800FBFAFA00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00C0C9CE005884A500ACD2
              ED00CBECFF009AC3DD005C92BB0053616C00AFA29400FDFBF400FFFFFF00FFFF
              FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00D5CCBA00AB998E00E6E1E000FF00
              FF00DFD8D800DDD4D400EFEAEA00FEFEFE00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00BEC8CD005282
              A500ABD6F100BDE8FF00919EA600E2DAD100FFFFFF00F4F0ED00CDB4A800B68E
              7B00AE7F6C00B1857200C19D8D00DFCFC600FFFFFF00FFFFFF00B0A18A00BCAF
              A800FF00FF00DED7D700DED5D500F5F3F300FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00C8CC
              CF005680A20096A9B100EAD8C900FFFFFF00D1B9AF00A4715A00A6715900BF93
              8200CFAB9D00D1AFA000C8A19000BB897500BE948000F2EBE800FFFFFF00AEA1
              8B00A7989100FBFAFA00DAD0D000E8E2E200FCFBFB00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FEFEFE00FF00
              FF00B5ACAC00C6BFB400FAFEFD00C2A59800A0694D00C1998900E0C6BD00E7D0
              C900EAD4CE00EFE1DC00F5EDEB00F0E2DE00D1AC9E00BB8C7800E9DDD800FFFF
              FF0095836900BCAFAA00F0EDED00DDD4D400F7F4F400FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FBF9F900F5F2
              F200BAA39500F4F7F400CFBDB500A5745900C7A38E00DDC2B200D8B7A300D3B0
              9B00D1AC9900D1AD9B00D8BBAF00EEE1DD00FAF5F300D7B7A900BF907F00F3F4
              F200D8D8D200836B5000DDD5D300E1D9D900EFEBEB00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FEFEFE00FF00FF00D4C9
              C700CBC4B400E0DFDE00BB957E00BE9A7D00DABDA600D6B79F00D6B79C00D6B7
              9E00D5B69D00D3B19A00CEA89300CEA69500E4CEC600F4EBE700CFA69600CAAB
              9E00F3F9FC00A2947E00AB958800EBE5E600E9E4E400FDFDFD00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FEFEFE00FF00FF00BAA7
              A000DADAD000D0C1B600BD987800D1B39600DDC3A700DBC1A300DBC2A600DBC1
              A400D9BFA300D9BCA100D7B8A100D2AE9700CEA79400E5D0CA00E4CDC500C194
              8200E4E1E000BDB6A9008B715800DDD4D300EDE8E800FDFCFC00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00B29F
              9300D4D4CE00CBB6A400C6A28200DAC1A400DFC9A900DFCAA900DFCAA900DFC9
              A900DEC7A800DCC2A500DABFA300D7BAA100D2AD9800D3AF9E00E6D4CD00CBA1
              9000D0C1B600CAC6C000866F5100C7B8B500F4F1F200FCFBFB00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00AF9C
              9100CBC9C300CCB6A000CFB18D00E0CBAB00E2CFAD00E2D1AD00E2D1AD00E2D1
              AD00E2CEAB00DFCAA900DCC5A700D9C0A300D7B8A000D1AC9600DDC2B800D2AB
              9E00C7AFA300CAC8C10088725700B8A49E00FAF8F800FCFBFB00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00B09D
              9100C1BDB500CEB9A200D4B89200E3D1AF00E5D5B000E5D6AF00E5D6B000E5D6
              AF00E4D4AF00E2D0AD00DFCAA900DCC4A600D9BDA300D3B29A00D9BAAA00D3AD
              9E00C2AB9D00C4BFB80087725600B29E9600FF00FF00FDFDFD00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00B7A5
              9900B4AEA600CABAA400D9C09700E4D5AF00E6DAB200E8DBB400E9DFBC00E8DD
              B700E6D9B000E4D5AE00E2CEAC00DFC8A900DBC1A400D6B79D00D7B8A600CFA7
              9800BCAC9F00B6B0A600856F5300BDAAA300FF00FF00FEFEFE00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00CABA
              B500AAA29400BBB0A200D9C59B00E2D3AB00EADFBB00F0E8D100F1EBD500EEE7
              CE00E8DFBB00E5D8B000E3D2AE00E0CCAA00DCC4A600D7BAA000D9B9A400C7A0
              8E00BBB2A800A4988A00816A4D00D0C4C100FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F0EB
              EA009E8D7900A69E9500D3C2A000DFD0A400EBE2C400F6F0E000FAF9F200F8F3
              E700EDE5C800E6DAB200E4D4AE00E0CCAB00DCC5A600DABEA400D7B49D00BA9B
              8900B2AEA7008D7B68008D735A00ECE8E700FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00B9A69A00948B7B00ACA19100E0CDA000E9DEBC00F5F0E100FCFBF600F7F3
              E800EEE6CD00E6DBB400E4D4AE00E1CDAA00DDC5A800DEBFA600C8A38900ABA0
              93009F97890085705600AB958600FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00F3EFEE009C877200887E7200B0A28A00E0D0A200EEE3C900F1EAD600EEE7
              CF00E8DDBB00E5D8B000E3D2AE00E1CCAC00DFC5A700CEAB8D00A69584009991
              84009989750096806600E3DBD800FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00DDD3CE0085735F007A6E650093867200CBB99200E6D8B100E8DB
              B500E7D9B000E5D5AD00E3CFA900DBC29E00C1A585009685730084786A00A194
              8600AFA28F00C1B2A700FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00D0C6C2008A7762006E6155006D5F5200907F6400B7A3
              7F00C5B28C00C3AD8A00B4A07F0097856C00746757006F625200A99F9300C2B6
              AA00BEAEA000FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00EAE4E000AC9A88007C6D5B00655A4E00665B
              4E006B5D4D006D5E4F006C5E4E006E625200968B7E00CFCAC200C1B6AB00C4B5
              A800FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00DCD3CA00B2A192009D8D
              7F009F958A00ACA49A00BFB9AD00D6CDC500D0C4BB00C1B3A500E2DCD700FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F2EF
              EC00DED6CF00D1C5BC00D7CDC600E3DCD700F3F0EE00FF00FF00FF00FF00FF00
              FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
            ParentDoubleBuffered = False
            TabOrder = 2
          end
        end
      end
      object Panel6: TPanel
        Left = 2
        Top = 15
        Width = 297
        Height = 286
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'MS Sans Serif'
        Font.Style = []
        ParentFont = False
        TabOrder = 1
        object Panel7: TPanel
          Left = 1
          Top = 86
          Width = 295
          Height = 199
          Align = alClient
          BevelOuter = bvLowered
          Caption = 'Panel6'
          TabOrder = 0
          object DBMemo1: TDBMemo
            Left = 1
            Top = 1
            Width = 293
            Height = 197
            Align = alClient
            BorderStyle = bsNone
            DataField = 'DOCDESC'
            DataSource = dscDoc
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
            TabOrder = 0
          end
        end
        object Panel8: TPanel
          Left = 1
          Top = 1
          Width = 295
          Height = 85
          Align = alTop
          BevelOuter = bvNone
          TabOrder = 1
          DesignSize = (
            295
            85)
          object Label5: TLabel
            Left = 46
            Top = 48
            Width = 26
            Height = 13
            Alignment = taRightJustify
            Caption = #1044#1072#1090#1072
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
          end
          object Label7: TLabel
            Left = 18
            Top = 26
            Width = 54
            Height = 13
            Alignment = taRightJustify
            Caption = #1058#1080#1087' '#1076#1086#1082'-'#1090#1072
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
          end
          object Label4: TLabel
            Left = 22
            Top = 4
            Width = 50
            Height = 13
            Alignment = taRightJustify
            Caption = #1053#1072#1079#1074#1072#1085#1080#1077
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
          end
          object Label6: TLabel
            Left = 22
            Top = 69
            Width = 50
            Height = 13
            Caption = #1054#1087#1080#1089#1072#1085#1080#1077
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
          end
          object DBDateTimeEditEh1: TDBDateTimeEditEh
            Left = 75
            Top = 46
            Width = 89
            Height = 19
            AlwaysShowBorder = True
            DataField = 'DOCDATE'
            DataSource = dscDoc
            EditButtons = <>
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            Flat = True
            Kind = dtkDateEh
            ParentFont = False
            ShowHint = True
            TabOrder = 0
            Visible = True
          end
          object DBEditEh4: TDBEditEh
            Left = 75
            Top = 2
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            Anchors = [akLeft, akTop, akRight]
            DataField = 'DOCNAME'
            DataSource = dscDoc
            EditButtons = <>
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            Flat = True
            ParentFont = False
            ShowHint = True
            TabOrder = 1
            Visible = True
          end
          object DBLookupComboboxEh1: TDBLookupComboboxEh
            Left = 75
            Top = 24
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'DOCTYPE'
            DataSource = dscDoc
            DropDownBox.SpecRow.CellsText = #1058#1080#1087' '#1085#1077' '#1091#1082#1072#1079#1072#1085
            DropDownBox.SpecRow.Visible = True
            EditButtons = <>
            Flat = True
            KeyField = 'ID'
            ListField = 'NAME'
            ListSource = MAINDM.dscDocTypes
            ShowHint = True
            TabOrder = 2
            Visible = True
          end
        end
      end
    end
  end
  object GroupBox3: TGroupBox [3]
    Left = 0
    Top = 387
    Width = 567
    Height = 64
    Align = alBottom
    Caption = ' '#1057#1083#1091#1078#1077#1073#1085#1099#1077' '#1076#1072#1085#1085#1099#1077' '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 3
    object Label8: TLabel
      Left = 26
      Top = 20
      Width = 43
      Height = 13
      Alignment = taRightJustify
      Caption = #1057#1086#1079#1076#1072#1085#1086
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label9: TLabel
      Left = 17
      Top = 42
      Width = 52
      Height = 13
      Alignment = taRightJustify
      Caption = #1048#1079#1084#1077#1085#1077#1085#1086
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object DBEditEh5: TDBEditEh
      Left = 80
      Top = 18
      Width = 121
      Height = 21
      AlwaysShowBorder = True
      Color = clBtnFace
      DataField = 'CREATOR'
      DataSource = dscDoc
      EditButtons = <>
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      Flat = True
      ParentFont = False
      ReadOnly = True
      ShowHint = True
      TabOrder = 0
      Visible = True
    end
    object DBEditEh6: TDBEditEh
      Left = 202
      Top = 18
      Width = 73
      Height = 21
      AlwaysShowBorder = True
      Color = clBtnFace
      DataField = 'CREATEDATE'
      DataSource = dscDoc
      EditButtons = <>
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      Flat = True
      ParentFont = False
      ReadOnly = True
      ShowHint = True
      TabOrder = 1
      Visible = True
    end
    object DBEditEh7: TDBEditEh
      Left = 202
      Top = 40
      Width = 73
      Height = 21
      AlwaysShowBorder = True
      Color = clBtnFace
      DataField = 'MODIFYDATE'
      DataSource = dscDoc
      EditButtons = <>
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      Flat = True
      ParentFont = False
      ReadOnly = True
      ShowHint = True
      TabOrder = 2
      Visible = True
    end
    object DBEditEh8: TDBEditEh
      Left = 80
      Top = 40
      Width = 121
      Height = 21
      AlwaysShowBorder = True
      Color = clBtnFace
      DataField = 'MODIFIER'
      DataSource = dscDoc
      EditButtons = <>
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      Flat = True
      ParentFont = False
      ReadOnly = True
      ShowHint = True
      TabOrder = 3
      Visible = True
    end
  end
  inherited ActionList1: TActionList
    inherited aReports: TAction
      Visible = False
    end
    object FileOpen1: TFileOpen
      Category = 'File'
      Dialog.Filter = 
        #1043#1088#1072#1092#1080#1095#1077#1089#1082#1080#1077' '#1092#1072#1081#1083#1099' (*.bmp;*.jpg;*.jpeg;*.gif)|*.bmp;*.jpg;*.jpeg;' +
        '*.gif'
      Hint = #1054#1090#1082#1088#1099#1090#1100' '#1092#1072#1081#1083' '#1089' '#1092#1086#1090#1086' '#1076#1083#1103' '#1079#1072#1075#1088#1091#1079#1082#1080' '#1074' '#1041#1044
      ImageIndex = 27
      ShortCut = 16463
      OnAccept = FileOpen1Accept
    end
    object aScanDelete: TAction
      Hint = #1059#1076#1072#1083#1080#1090#1100' '#1089#1082#1072#1085' '#1076#1086#1082#1091#1084#1077#1085#1090#1072' '#1080#1079' '#1041#1044
      ImageIndex = 26
      OnExecute = aScanDeleteExecute
    end
    object aEnlage: TAction
      Hint = #1059#1074#1077#1083#1080#1095#1080#1090#1100' '#1080#1079#1086#1073#1088#1072#1078#1077#1085#1080#1077
      ImageIndex = 3
      OnExecute = aEnlageExecute
    end
  end
  object dsDoc: TpFIBDataSet
    UpdateSQL.Strings = (
      'UPDATE RST_DEBT_DOCUMENTS'
      'SET '
      '    DEBT_ID = :DEBT_ID,'
      '    DOCTYPE = :DOCTYPE,'
      '    DOCNAME = :DOCNAME,'
      '    DOCDESC = :DOCDESC,'
      '    DOCDATE = :DOCDATE,'
      '    DOCSCAN = :DOCSCAN'
      'WHERE'
      '    ID = :OLD_ID'
      '    ')
    DeleteSQL.Strings = (
      'DELETE FROM'
      '    RST_DEBT_DOCUMENTS'
      'WHERE'
      '        ID = :OLD_ID'
      '    ')
    InsertSQL.Strings = (
      'INSERT INTO RST_DEBT_DOCUMENTS('
      '    DEBT_ID,'
      '    DOCTYPE,'
      '    DOCNAME,'
      '    DOCDESC,'
      '    DOCDATE,'
      '    DOCSCAN'
      ')'
      'VALUES('
      '    :DEBT_ID,'
      '    :DOCTYPE,'
      '    :DOCNAME,'
      '    :DOCDESC,'
      '    :DOCDATE,'
      '    :DOCSCAN'
      ')')
    RefreshSQL.Strings = (
      'SELECT'
      '    dd.ID,'
      '    dd.DEBT_ID,'
      '    dd.DOCTYPE,'
      '    dd.DOCNAME,'
      '    dd.DOCDESC,'
      '    dd.DOCDATE,'
      '    dd.DOCSCAN,'
      
        '    (select rname from PR_GET_USER_NAME(dd.createuserid)) as cre' +
        'ator,'
      '    dd.createdate,'
      
        '    (select rname from PR_GET_USER_NAME(dd.modifyuserid)) as mod' +
        'ifier,'
      '    dd.modifydate'
      'FROM'
      '    RST_DEBT_DOCUMENTS dd'
      'where(  dd.id = :pdoc_id'
      'and dd.IS_DELETED = 0'
      '     ) and (     DD.ID = :OLD_ID'
      '     )'
      '    ')
    SelectSQL.Strings = (
      'SELECT'
      '    dd.ID,'
      '    dd.DEBT_ID,'
      '    dd.DOCTYPE,'
      '    dd.DOCNAME,'
      '    dd.DOCDESC,'
      '    dd.DOCDATE,'
      '    dd.DOCSCAN,'
      
        '    (select rname from PR_GET_USER_NAME(dd.createuserid)) as cre' +
        'ator,'
      '    dd.createdate,'
      
        '    (select rname from PR_GET_USER_NAME(dd.modifyuserid)) as mod' +
        'ifier,'
      '    dd.modifydate'
      'FROM'
      '    RST_DEBT_DOCUMENTS dd'
      'where dd.id = :pdoc_id'
      'and dd.IS_DELETED = 0')
    AfterOpen = dsDocAfterOpen
    Transaction = trCard
    Database = MAINDM.MainDB
    Left = 288
    Top = 64
    object dsDocID: TFIBIntegerField
      FieldName = 'ID'
    end
    object dsDocDEBT_ID: TFIBIntegerField
      FieldName = 'DEBT_ID'
    end
    object dsDocDOCNAME: TFIBStringField
      FieldName = 'DOCNAME'
      EmptyStrToNull = True
    end
    object dsDocDOCDESC: TFIBStringField
      FieldName = 'DOCDESC'
      Size = 1000
      EmptyStrToNull = True
    end
    object dsDocDOCDATE: TFIBDateField
      FieldName = 'DOCDATE'
    end
    object dsDocDOCSCAN: TFIBMemoField
      FieldName = 'DOCSCAN'
      BlobType = ftMemo
      Size = 8
    end
    object dsDocDOCTYPE: TFIBIntegerField
      FieldName = 'DOCTYPE'
    end
    object dsDocCREATOR: TFIBStringField
      FieldName = 'CREATOR'
      Size = 100
      EmptyStrToNull = True
    end
    object dsDocCREATEDATE: TFIBDateField
      FieldName = 'CREATEDATE'
    end
    object dsDocMODIFIER: TFIBStringField
      FieldName = 'MODIFIER'
      Size = 100
      EmptyStrToNull = True
    end
    object dsDocMODIFYDATE: TFIBDateField
      FieldName = 'MODIFYDATE'
    end
  end
  object dscDoc: TDataSource
    DataSet = dsDoc
    Left = 328
    Top = 66
  end
  object dsGetDebt: TpFIBDataSet
    SelectSQL.Strings = (
      'select'
      '  rw.debt_id'
      'from rst_debt_documents rw'
      'where rw.id = :pdoc_id')
    Transaction = trCard
    Database = MAINDM.MainDB
    Left = 316
    Top = 120
    object dsGetDebtDEBT_ID: TFIBIntegerField
      FieldName = 'DEBT_ID'
    end
  end
end
